package org.springcloud.hystrix;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;

/**
 * @Description: 
 * 通过@EnableFeignClients 注解开启Feign的功能
 * @author huangjd
 * @date 2018年1月2日
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients 
public class Hystrix_FeignApplication{
    public static void main( String[] args ){
       SpringApplication.run(Hystrix_FeignApplication.class, args);
    }
}
